package com.chb.app.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author: 陈海彬
 * @date: Created in 2024/1/2 14:52
 * @description:
 * @modified By:
 * @version:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("新闻请求参数")
public class NewsParams {


    @ApiModelProperty("当前页数")
    private Integer page;

    @ApiModelProperty("每页展示条数")
    private Integer pageSize;

    @ApiModelProperty("根据时间查询")
    private String[] createTime;

    private Date startTime;

    private Date endTime;

    @ApiModelProperty("新闻来源")
    private String newsSource;

}